package com.lut.bridge;

/**
 * @author liuning
 * @ProjectName GOF23
 * @time 2021/12/22 0:51
 */
public class Test {
    public static void main(String[] args) {
        //苹果笔记本
        Computer computer = new Laptop(new Apple());
        computer.info();
        //联想台式机
        Computer computer2 = new Desktop(new Lenovo());
        computer2.info();
    }
}
